package com.lagou.wang.pojo;

public class Class {

    private int cid;
    private String className;
    private String grade;
    private String teacher  ;
    private String slogan;
    private int size;

    public Class() {
    }

    public Class(int cid, String className, String grade, String teacher, String slogan, int size) {
        this.cid = cid;
        this.className = className;
        this.grade = grade;
        this.teacher = teacher;
        this.slogan = slogan;
        this.size = size;
    }

    public int getCid() {
        return cid;
    }

    public void setCid(int cid) {
        this.cid = cid;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public String getTeacher() {
        return teacher;
    }

    public void setTeacher(String teacher) {
        this.teacher = teacher;
    }

    public String getSlogan() {
        return slogan;
    }

    public void setSlogan(String slogan) {
        this.slogan = slogan;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    @Override
    public String toString() {
        return "Class{" +
                "cid=" + cid +
                ", className='" + className + '\'' +
                ", grade='" + grade + '\'' +
                ", teacher='" + teacher + '\'' +
                ", slogan='" + slogan + '\'' +
                ", size=" + size +
                '}';
    }
}
